# PowerShell 脚本：启动 PHP 代理服务器

Write-Host "============================================" -ForegroundColor Cyan
Write-Host "启动 PHP 代理服务器" -ForegroundColor Cyan
Write-Host "============================================" -ForegroundColor Cyan
Write-Host ""
Write-Host "正在启动 PHP 服务器在端口 4567..." -ForegroundColor Yellow
Write-Host "服务地址: http://localhost:4567" -ForegroundColor Green
Write-Host ""
Write-Host "按 Ctrl+C 停止服务器" -ForegroundColor Yellow
Write-Host ""
Write-Host "============================================" -ForegroundColor Cyan
Write-Host ""

# 切换到脚本所在目录
Set-Location $PSScriptRoot

# 启动 PHP 服务器
php -S localhost:4567 -t public

